package com.xxx.ware.ware_manage_sys.bean.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class WsDetailUpdateSaveDto {

    /**
     * id，更新时候用
     */
    @JsonProperty("id")
    private Long id;

    @JsonProperty("warehouse_name")
    @NotNull
    private String warehouseName;

    @JsonProperty("remark")
    private String remark;
}
